package com.icoolkj.security.springmvc.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @author icoolkj
 * @version 1.0
 * @description 用户身份信息
 * @createDate 2025/02/06 22:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserVO {

    public static final String SESSION_USER_KEY = "_user";

    // 用户身份信息
    private String id;
    private String username;
    private String password;
    private String fullname;
    private String mobile;

    /** 用户权限 **/
    private Set<String> authorities;


}
